<?php

class Mediad2_Model_User extends Mediad2_Model_Abstract
{
	/**
	 * const
	 */
	const STATUS_NORMAL 			= 1;	//正常
	const STATUS_PAUSE				= 2;	//暂停
	const STATUS_DELETE				= 3;	//删除
	const STATUS_SYSTEM				= 9;	//系统，不允许删除
	
	const VERIFYSTATUS_NO			= 0;	//未验证
	const VERIFYSTATUS_YES			= 1;	//已验证
	
	const ISADMIN_NO				= 0;	//不是管理员
	const ISADMIN_YES				= 1;	//是管理员
	
	/**
	 * var
	 */
	protected $uid;
	protected $nickname;
	protected $email;
	protected $pwd;
	protected $mobile;
	protected $qq;
	protected $isadmin;
	protected $status;
	protected $addtime;
	protected $verifycode;
	protected $verifystatus;
	protected $rolecode;
	protected $qrcode;
	protected $avatar;
	protected $spaceimg;
	protected $imei;
	
	
	
	/**
	 * @return the $imei
	 */
	public function getImei() {
		return $this->imei;
	}

	/**
	 * @param field_type $imei
	 */
	public function setImei($imei) {
		$this->imei = $imei;
	}

	/**
	 * @return the $verifystatus
	 */
	public function getVerifystatus() {
		return $this->verifystatus;
	}

	/**
	 * @param field_type $verifystatus
	 */
	public function setVerifystatus($verifystatus) {
		$this->verifystatus = $verifystatus;
	}

	/**
     * @return the $spaceimg
     */
    public function getSpaceimg ()
    {
        return $this->spaceimg;
    }

	/**
     * @param field_type $spaceimg
     */
    public function setSpaceimg ($spaceimg)
    {
        $this->spaceimg = $spaceimg;
    }

	/**
     * @return the $uid
     */
    public function getUid ()
    {
        return $this->uid;
    }

	/**
     * @return the $nickname
     */
    public function getNickname ()
    {
        return $this->nickname;
    }

	/**
     * @return the $email
     */
    public function getEmail ()
    {
        return $this->email;
    }

	/**
     * @return the $pwd
     */
    public function getPwd ()
    {
        return $this->pwd;
    }

	/**
     * @return the $mobile
     */
    public function getMobile ()
    {
        return $this->mobile;
    }

	/**
     * @return the $qq
     */
    public function getQq ()
    {
        return $this->qq;
    }

	/**
     * @return the $isadmin
     */
    public function getIsadmin ()
    {
        return $this->isadmin;
    }

	/**
     * @return the $status
     */
    public function getStatus ()
    {
        return $this->status;
    }

	/**
     * @return the $addtime
     */
    public function getAddtime ()
    {
        return $this->addtime;
    }

	/**
     * @return the $verifycode
     */
    public function getVerifycode ()
    {
        return $this->verifycode;
    }

	/**
     * @return the $rolecode
     */
    public function getRolecode ()
    {
        return $this->rolecode;
    }

	/**
     * @return the $qrcode
     */
    public function getQrcode ()
    {
        return $this->qrcode;
    }

	/**
     * @return the $avatar
     */
    public function getAvatar ()
    {
        return $this->avatar;
    }

	/**
     * @param field_type $uid
     */
    public function setUid ($uid)
    {
        $this->uid = $uid;
    }

	/**
     * @param field_type $nickname
     */
    public function setNickname ($nickname)
    {
        $this->nickname = $nickname;
    }

	/**
     * @param field_type $email
     */
    public function setEmail ($email)
    {
        $this->email = $email;
    }

	/**
     * @param field_type $pwd
     */
    public function setPwd ($pwd)
    {
        $this->pwd = $pwd;
    }

	/**
     * @param field_type $mobile
     */
    public function setMobile ($mobile)
    {
        $this->mobile = $mobile;
    }

	/**
     * @param field_type $qq
     */
    public function setQq ($qq)
    {
        $this->qq = $qq;
    }

	/**
     * @param field_type $isadmin
     */
    public function setIsadmin ($isadmin)
    {
        $this->isadmin = $isadmin;
    }

	/**
     * @param field_type $status
     */
    public function setStatus ($status)
    {
        $this->status = $status;
    }

	/**
     * @param field_type $addtime
     */
    public function setAddtime ($addtime)
    {
        $this->addtime = $addtime;
    }

	/**
     * @param field_type $verifycode
     */
    public function setVerifycode ($verifycode)
    {
        $this->verifycode = $verifycode;
    }

	/**
     * @param field_type $rolecode
     */
    public function setRolecode ($rolecode)
    {
        $this->rolecode = $rolecode;
    }

	/**
     * @param field_type $qrcode
     */
    public function setQrcode ($qrcode)
    {
        $this->qrcode = $qrcode;
    }

	/**
     * @param field_type $avatar
     */
    public function setAvatar ($avatar)
    {
        $this->avatar = $avatar;
    }

}